package com.task.common.constant;

import com.task.common.exception.ErrorCode;

public interface ErrorCodeConstants {
    // ========== 脚本类型 0000010000 ==========
    ErrorCode SCRIPT_TYPE_IS_NULL  = new ErrorCode(0000010001, "脚本类型名称不存在");
    ErrorCode SCRIPT_TYPE_CODE_IS_EMPTY  = new ErrorCode(0000010002, "脚本类型编号不存在");


    // ========== 系统文件上传 0000010000 ==========
    ErrorCode   UPLOAD_FILE_CONTENT_IS_NOT_EMPETY= new ErrorCode(0000020001, "上传文件内容不能为空");
    ErrorCode   UPLOAD_FILE_NUMBER_CAN_NOT_BEYOND_LIMITATION= new ErrorCode(0000020002, "上传文数量不能超过10");
    ErrorCode   DATA_CLEARING_FAILED= new ErrorCode(0000020003, "数据清空失败,请稍后重试");





    // ========== 数据源 0000010000 ==========
    ErrorCode    NO_DATA_SOURCES_AVAILABLE = new ErrorCode(0000030001, "没有可用的数据源");
    ErrorCode    NO_DATA_SOURCES_REFEREAVAILABLE = new ErrorCode(0000030002, "没有可用的Refere数据");
    ErrorCode    DATA_IS_USING = new ErrorCode(0000030003, "获取资料频繁，请稍后重试");
    ErrorCode AVAILABLE_DATA_SOURCE_IS_ZERO  = new ErrorCode(0000030004, "所选数据源可用数量为零，请重新选择");
    ErrorCode EDIT_DATA_SOURCE_IS_ALLOW  = new ErrorCode(0000030005, "请编辑时添加数据源");
    ErrorCode    AVAILABLE_DATA_SOURCE_IS_USED = new ErrorCode(0000030006, "无可用数据,请及时导入");
    ErrorCode    DATA_IMPORT_SUCCESS = new ErrorCode(0000030007, "数据导入成功");
    ErrorCode    DATA_IMPORT_FAIL = new ErrorCode(0000030010, "数据导入失败");
    ErrorCode    DATA_SOURCE_NOT_EXIST = new ErrorCode(0000030011, "数据源不存在");
    ErrorCode    DATA_CLEAR_SUCCESS = new ErrorCode(0000030012, "数据清除成功");
    ErrorCode    DATA_CLEAR_FAIL= new ErrorCode(0000030012, "数据清除失败");



    //设备
    ErrorCode   DEVICE_SUPPORT_FORMAT   = new ErrorCode(0000040001, "添加设备只支持格式为:设备名称 | 设备序列号");
    ErrorCode   DEVICE_SUPPORT_FORMAT_NOT_EMPTY   = new ErrorCode(0000040002, "设备名称和设备号都不能为空,格式为:设备名称 | 设备序列号");
    ErrorCode   DEVICE_NOT_EXIST   = new ErrorCode(0000040003, "设备不存在");


    ErrorCode PROPMT_CODE_IS_EMPTY  = new ErrorCode(0000050002, "提示语编号不存在");
    ErrorCode PROMPT_IS_NULL  = new ErrorCode(0000050001, "提示语内容不能为空");

    // ========== 引擎方案 0000060000 ==========
    ErrorCode ENGINE_SCHEMA_NOT_EXIST  = new ErrorCode(0000060001, "引擎方案不存在");


    // ========== 任务 0000070000 ==========

    ErrorCode  MISSION_CODE_NOT_EMPTY  = new ErrorCode(0000070001, "任务Code不能为空");
    ErrorCode  INPUT_PARAMETER_PAGESTATUS_IS_ABNORMAL = new ErrorCode(0000070002, "传入参数pageStatus错误");
    ErrorCode  INPUT_PARAMETER_PAGESTATUS_NOT_EMPTY = new ErrorCode(0000070002, "传入参数pageStatus不能为空");
    ErrorCode NO_CAN_USE_MISSION = new ErrorCode(0000070003, "无可用任务");;
    ErrorCode  MISSION_NOT_EXIST  = new ErrorCode(0000070004, "任务不存在");

    // ========== 问题中心 0000080000 ==========

    ErrorCode  UNFIXED_ISSUES_NOT_DELETED  = new ErrorCode(000000001, "未修复的问题不能删除");
    ErrorCode QUESTION_NOT_EXIST = new ErrorCode(000000002, "问题不存在");
    ErrorCode QUESTION_FIX_INFO_NOT_EXIST = new ErrorCode(000000002, "该问题还未解决");

    //========== 任务返回历史 0000011000 ==========
    ErrorCode  MISSION_SEND_ID_IS_EMPTY  = new ErrorCode(0000011001, "Id不能为空");
    ErrorCode  ID_FORMAT_ERROR  = new ErrorCode(0000011001, "id格式错误");
}